<template lang="html">
  <div class="bpage">
    {{ $store.state.money.money }}
     <button type="button" name="button" @click="add">增加</button>
    <button type="button" name="button" @click="reduce">删减</button>
  </div>
</template>

<script>
import { mapActions } from 'vuex'
export default {
  name: 'bpage',
  data () {
    return {}
  },
  methods: mapActions('money', ['add', 'reduce'])
}
</script>

<style scoped>
</style>
